package com.zyd.shiro.business.service;

import com.github.pagehelper.PageInfo;
import com.zyd.shiro.business.entity.Stock;
import com.zyd.shiro.framework.object.BaseConditionVO;
import com.zyd.shiro.framework.object.AbstractService;
import com.zyd.shiro.persistence.beans.PakOrderLine;
import com.zyd.shiro.persistence.beans.PakOutLine;
import com.zyd.shiro.persistence.beans.PakStock;

public interface PakStockService extends AbstractService<Stock, Long> {

    /**
     * 分页查询
     *
     * @param vo
     * @return
     */
    PageInfo<Stock> findPageBreakByCondition(BaseConditionVO vo);


      void increase(PakStock pakStock);

      //出库
      Integer outWare(PakStock pakStock);

    Integer outWare(PakOutLine outLine);

     void enterWare(PakStock pakStock);

     void enterWare(PakOrderLine orderLine, Long depotId);
}